# 1 "C:/Bruker/XWIN-NMR/exp/stan/nmr/lists/pp/CIDNP_1H_TR_BiBi_shutter"

;cidnp with CPD decoupling (waltz16) minimum 8 scans
;avance-version for the french laser!!!!!
;1D sequence with decoupling for the BiBi
;
;Dmytro Neshchadin (November 2002)
;changed on Jul 10, 2013

# 1 "C:/Bruker/XWIN-NMR/exp/stan/nmr/lists/pp/Avance.incl" 1
;Avance.incl
;
;avance-version (03/02/17)


















































































































;$Id: Avance1.incl,v 1.7.2.3 2003/02/25 14:48:47 ber Exp $
# 9 "C:/Bruker/XWIN-NMR/exp/stan/nmr/lists/pp/CIDNP_1H_TR_BiBi_shutter" 2




"d11=30m"


# 1 "mc_line 16 file C:/Bruker/XWIN-NMR/exp/stan/nmr/lists/pp/CIDNP_1H_TR_BiBi_shutter expanding definition part of mc command before ze"
define delay MCWRK
define delay MCREST
"MCWRK = 0.500000*30m"
"MCREST = d1 - 30m"
# 16 "C:/Bruker/XWIN-NMR/exp/stan/nmr/lists/pp/CIDNP_1H_TR_BiBi_shutter"
1 ze
# 1 "mc_line 16 file C:/Bruker/XWIN-NMR/exp/stan/nmr/lists/pp/CIDNP_1H_TR_BiBi_shutter expanding definition of mc command after ze"
# 17 "C:/Bruker/XWIN-NMR/exp/stan/nmr/lists/pp/CIDNP_1H_TR_BiBi_shutter"
# 1 "mc_line 17 file C:/Bruker/XWIN-NMR/exp/stan/nmr/lists/pp/CIDNP_1H_TR_BiBi_shutter expanding start label for mc command"
2 MCWRK  * 2
LBLF0, MCREST
# 18 "C:/Bruker/XWIN-NMR/exp/stan/nmr/lists/pp/CIDNP_1H_TR_BiBi_shutter"
  1u pl19:f1        ;set power for presaturation on channel f1
  trigpe2           ;waits for trigger from laser
  d11 cpds2:f1      ;presaturation ON (waltz16) channel f1 !!!
  d24 		
  trigpe2           ;waits for trigger from laser      
  setnmr2|1             ;triggs the shutter (delays below are adjustable)
  setnmr2^1				
  98m               ;delay for SHUTTER      
  632.5u
  120u
  trigpe2
  18.4u  	    ;delay for 365u 88.4 and 18.4u for 295u, 8.4u is delay for qswitch delay of 285us = qs-276.6us
  1u do:f1     	    ;presaturation OFF channel1
  251u	            ;delay between decoupler OFF and trigging (251u)			        
  1u pl1:f1 
  "vdidx=l23"       ;l23 controls the value from the variable delay list (vdlist) (from 0 to ....)
   vd               ;delay between laser pulse and the RF pulse from vdlist l23
  p1 ph1            ;RF pulse 
  go=2 ph31         ;aquisition
# 1 "mc_line 37 file C:/Bruker/XWIN-NMR/exp/stan/nmr/lists/pp/CIDNP_1H_TR_BiBi_shutter expanding mc command in line"
  MCWRK wr #0
  MCWRK zd 
  lo to LBLF0 times td0

# 38 "C:/Bruker/XWIN-NMR/exp/stan/nmr/lists/pp/CIDNP_1H_TR_BiBi_shutter"
  
exit

ph1=0 2 2 0 1 3 3 1
ph31=0 2 2 0 1 3 3 1

;IMPORTANT
;pcpd1 : presaturation pulse length for CPD (see pl19)
;pl1 : f1 channel - power level for pulse (default)
;pl19 : f1 power for CPD presaturation on channel f1
;p1 : f1 channel -  90 degree high power pulse
;d1 : relaxation delay; 1-5 * T1
;d11: delay                            [30 msec]
;cpds2: decoupling according to sequence defined by cpdprg2 (waltz 16)
;d24 : time for preasaturation 3-5 sec
;pl19 and pcpd1 are taken by getprosol command!!!!!!!!
